package com.core136.mapper.safety;

import com.core136.bean.safety.SafetyDrill;
import com.core136.common.dbutils.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface SafetyDrillMapper extends MyMapper<SafetyDrill> {
    /**
     * 获取安全演练列表
     * @param orgId
     * @param drillType
     * @param beginTime
     * @param endTime
     * @param search
     * @return
     */
    public List<Map<String,String>> getSafetyDrillList(@Param(value="orgId")String orgId,@Param(value="drillType")String drillType,@Param(value="beginTime")String beginTime,
                                                       @Param(value="endTime")String endTime,@Param(value="search")String search);

}
